package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * 
 * 
 * @author wxw
 * @email 
 * @date 2020-03-24 17:22:46
 */

@Data
@TableName("unimall_purchase_warehouse_order_goods")
public class PurchaseWarehouseOrderGoodsDO  extends SuperDO  {

	/**
	 * 
	 */
	/**
	 * 入库单id
	 */
    @TableField("warehouse_order_id")
    private Long warehouseOrderId;
	/**
	 * 
	 */
    @TableField("warehouse_id")
    private Long warehouseId;
	/**
	 * 数量
	 */
    @TableField("warehouse_goods_buy_num")
    private Float warehouseGoodsBuyNum;
	/**
	 * 单价
	 */
    @TableField("warehouse_goods_price")
    private Long warehouseGoodsPrice;
	/**
	 * 税
	 */
    @TableField("warehouse_goods_tax")
    private Long warehouseGoodsTax;
	/**
	 * 商品价格
	 */
    @TableField("warehouse_goods_amount")
    private Long warehouseGoodsAmount;
	/**
	 * （对应使用sku的信息）
	 */
    @TableField("goods_id")
    private Long goodsId;
	/**
	 * 
	 */
    @TableField("goods_name")
    private String goodsName;
	/**
	 * 商品编码
	 */
    @TableField("goods_no")
    private String goodsNo;

	@TableField("goods_bar_code")
	private String goodsBarCode;
	/**
	 * 商品规格
	 */
    @TableField("goods_spec")
    private String goodsSpec;
	/**
	 * 
	 */
    @TableField("goods_unit")
    private String goodsUnit;

	/**
	 * 商品图片
	 */
	@TableField("goods_img")
	private String goodsImg;
	/**
	 * 商品品类id
	 */
	@TableField("sku_id")
	private Long skuId;
	@TableField("sku_name")
	private String skuName;
	@TableField("spu_name")
	private String spuName;
	//入库后的平均价
	@TableField("goods_aver_price")
	private Long goodsAverPrice;
	//入库前的平均价
	@TableField("goods_pre_aver_price")
	private Long goodsPreAverPrice;

}
